package com.lysj.order.customer.vo;

import lombok.Data;
import lombok.Getter;

import java.math.BigDecimal;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 10:58 2019/3/22
 * @ Description: 用户订单菜品详情vo
 **/
@Data
public class CusOrderItmeVo {

    @Getter
    public enum Status {
        GOODS(1, "点菜"),
        GIFT(2, "赠菜"),
        CANCLE(3, "退菜");
        private Integer code;

        private String status;

        Status(Integer code, String status) {
            this.code = code;
            this.status = status;
        }
    }

    private String foodName; //菜品名称

    private BigDecimal unitPrice;//单价

    private Integer amount;//菜品数量

    private Integer status; //菜品状态


    public CusOrderItmeVo() {

    }

    public CusOrderItmeVo(String foodName, BigDecimal unitPrice, Integer amount, Integer status) {
        this.foodName = foodName;
        this.unitPrice = unitPrice;
        this.amount = amount;
        this.status = status;
    }
}
